#include "directory_scanner.hpp"
#include <iostream>
#include <string>
#include <vector>

int main(int argc, char* argv[]) {
    if (argc == 1) {
        std::cerr << "请带参运行" << std::endl;
    }
    std::string dir_path(argv[1]);
    std::vector<std::string> file_list = DirectoryScanner::scan(dir_path);
    for (auto file : file_list) {
        std::cout << file << std::endl;
    }
    return 0;
}
